package bean;

import java.io.Serializable;

public class User  implements Serializable{
	Integer user_id;
	String user_idenf;
	String user_name;
	String user_sex;
	String user_password;
	String user_email;
	String user_mobile;
	Integer d_id;
	Depar depar;

	
	public Integer getD_id() {
		return d_id;
	}

	public void setD_id(Integer d_id) {
		this.d_id = d_id;
	}

	public Depar getDepar() {
		return depar;
	}

	public void setDepar(Depar depar) {
		this.depar = depar;
	}

	public User() {
		super();
	}

	public User(Integer user_id, String user_name, String user_email) {
		super();
		this.user_id = user_id;
		this.user_name = user_name;
		this.user_email = user_email;
	}

	public User(String user_name, String user_password, String user_mobile) {
		super();
		this.user_name = user_name;
		this.user_password = user_password;
		this.user_mobile = user_mobile;
	}

	@Override
	public String toString() {
		return "User [user_id=" + user_id + ", user_idenf=" + user_idenf + ", user_name=" + user_name + ", user_sex="
				+ user_sex + ", user_password=" + user_password + ", user_email=" + user_email + ", user_mobile="
				+ user_mobile + ", d_id=" + d_id + ", depar=" + depar + "]";
	}

	public Integer getUser_id() {
		return user_id;
	}

	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}

	public String getUser_idenf() {
		return user_idenf;
	}

	public void setUser_idenf(String user_idenf) {
		this.user_idenf = user_idenf;
	}

	public String getUser_name() {
		return user_name;
	}

	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}

	public String getUser_sex() {
		return user_sex;
	}

	public void setUser_sex(String user_sex) {
		this.user_sex = user_sex;
	}

	public String getUser_password() {
		return user_password;
	}

	public void setUser_password(String user_password) {
		this.user_password = user_password;
	}

	public String getUser_email() {
		return user_email;
	}

	public void setUser_email(String user_email) {
		this.user_email = user_email;
	}

	public String getUser_mobile() {
		return user_mobile;
	}

	public void setUser_mobile(String user_mobile) {
		this.user_mobile = user_mobile;
	}

}
